home *** CD-ROM | disk | FTP | other *** search
- unit Mailsys2;
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, StdCtrls, ExtCtrls, Sessionf, MXMAILX;
- {$I mailxdef.int}
-
- type
- TMailSystem = class(TForm)
- RadioGroup1: TRadioGroup;
- Button1: TButton;
- procedure Button1Click(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
-
- implementation
-
- {$R *.DFM}
-
- procedure TMailSystem.Button1Click(Sender: TObject);
- begin
- case RadioGroup1.ItemIndex of
- 1: SimpleForm.MXSession1.MailType:=mtVIM;
- 0: SimpleForm.MXSession1.MailType:=mtEXCHANGE;
- 2: SimpleForm.MXSession1.MailType:=mtPOP3SMTP;
- end;
- end;
-
- end.
-